import request from "@/utils/request/request";

// 任务列表
export function showTask(taskList){
  return request({
    url: 'http://localhost:9999/jeecg-task/task/taskList',
    method: 'get',
    params: taskList
  })
}



//    根据任务id查询任务状态
export function findById(id){
  return request({
    url: 'http://localhost:9999/jeecg-task/task/findTaskStatus',
    method: 'post',
    params: {id:id}
  })
}


//    根据id查任务信息
export function findtask(id){
  return request({
    url: 'http://localhost:9999/jeecg-task/task/findTask',
    method: 'post',
    params: {id:id}
  })
}


// 取消
export function quxia(id){
  return request({
    url: 'http://localhost:9999/jeecg-task/task/qux',
    method: 'post',
    params: {id:id}
  })
}
